﻿using System;
using System.Collections.Generic;
using System.Text;
using Dogs.Model;

namespace Dogs.Business
{
    public static class ParentsHolder
    {
        static ParentsHolder()
        {
            _parents = Serializator.GetAllParents();
            if (_parents == null)
            {
                _parents = new List<ParentsPair>();
            }
        }

        private static List<ParentsPair> _parents;

        internal static List<ParentsPair> Parents
        {
            get { return _parents; }
            set { _parents = value; }
        }
    }
}
